import request from '@/utils/request';

/** 查询销售对账列表 */
export const getSalesReconciliationListApi = (data: any) => {
  return request({
    url: '/system/saleOrder/saleListReconciliationList',
    method: 'post',
    data: data
  });
};


/** 销售对账 */
export const salesReconciliationApi = (data: any) => {
  return request({
    url: '/system/saleOrder/saleReconciliation',
    method: 'post',
    data: data
  });
};

/** 撤销对账 */
export const cancelReconciliationApi = (data: any) => {
  return request({
    url: '/system/saleOrder/revokeSaleReconciliation',
    method: 'post',
    params: data
  });
};